from django.contrib import admin
from TuiGuang.models import tg_qudao,tg_leixing
# Register your models here.

@admin.register(tg_qudao)
class tg_qudaoAdmin(admin.ModelAdmin):
        list_display = ('id', 'name', 'tg_leixing')
        list_filter = ('name', )
        search_fields = ('name', )



@admin.register(tg_leixing)
class tg_leixingAdmin(admin.ModelAdmin):
        list_display = ('id', 'name', 'leixing_laiyuan')
        list_filter = ('name', )
        search_fields = ('name', )


